//引入请求库
import http from "@/utils/http2.js";
//检查用户是否存在
export function checkUser(account) {
  return http.get("/api/user/check?account=" + account, {}); //account===  account:account
}
//登录
export function login(data) {
  return http.post("/api/user/login", data);
}
